
package com.skyon.sample;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import com.zjnx.train.entity.User;

@WebService(name = "UserRpcServicePortType", targetNamespace = "http://rpc.train.zjnx.com")
@SOAPBinding(use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public interface UserRpcServicePortType {


    @WebMethod(operationName = "getUserById", action = "")
    @WebResult(name = "out", targetNamespace = "http://rpc.train.zjnx.com")
    public User getUserById(
        @WebParam(name = "in0", targetNamespace = "http://rpc.train.zjnx.com")
        Long in0);

    @WebMethod(operationName = "getNameById", action = "")
    @WebResult(name = "out", targetNamespace = "http://rpc.train.zjnx.com")
    public String getNameById(
        @WebParam(name = "in0", targetNamespace = "http://rpc.train.zjnx.com")
        Long in0);

}
